package com.pkdl.dto;

import java.sql.Timestamp;
import java.util.Date;

// Data transfer object which is associated with BenhNhanChoKham table in database
public class BenhNhanChoKhamDTO {

	private int maBenhNhan;
	private Timestamp thoiDiemTiepNhan;
	private BenhNhanDTO benhNhan;
	private String tinhTrang;

	public BenhNhanChoKhamDTO() {
		this.maBenhNhan = 0;
		this.thoiDiemTiepNhan = new Timestamp(new Date().getTime());
	}

	public BenhNhanChoKhamDTO(int mabenhnhan, Timestamp thoidiemtiepnhan,
			String tinhtrang) {
		this.maBenhNhan = mabenhnhan;
		this.thoiDiemTiepNhan = thoidiemtiepnhan;
		this.tinhTrang = tinhtrang;
	}

	public BenhNhanDTO getBenhNhan() {
		return this.benhNhan;
	}

	public int getMaBenhNhan() {
		return this.maBenhNhan;
	}

	public Timestamp getThoiDiemTiepNhan() {
		return this.thoiDiemTiepNhan;
	}

	public String getTinhTrang() {
		return this.tinhTrang;
	}

	public void setBenhNhan(BenhNhanDTO benhNhan) {
		this.benhNhan = benhNhan;
	}

	public void setMaBenhNhan(int maBenhNhan) {
		this.maBenhNhan = maBenhNhan;
	}

	public void setThoiDiemTiepNhan(Timestamp thoiDiemTiepNhan) {
		this.thoiDiemTiepNhan = thoiDiemTiepNhan;
	}

	public void setTinhTrang(String tinhTrang) {
		this.tinhTrang = tinhTrang;
	}

}
